<?php 
	header("Content-type: text/html; charset=utf-8");
	$photo=$data['photolist'];
	//var_dump($photo);
 ?>
<!DOCTYPE html>
<html>
<head>
<title>活动照片展示</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="reptiles Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- bootstarp-css -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<!--// bootstarp-css -->
<!-- css -->
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/lightbox.css">
<!--// css -->
<script src="js/jquery-1.11.1.min.js"></script>
</head>
<body>
	<!-- banner -->
	<div class="banner">
		<div class="logo">
			<a href="index.php">青年志愿者协会</a>
		</div>
		<div class="top-nav">
			<span class="menu">MENU</span>
			<ul class="nav1">
				<li><a href="index.php?c=index&m=index">社团风采</a></li>
				<li><a href="index.php?c=index&m=about">社团简介</a></li>
				<li><a href="index.php?c=index&m=gallery" class="active">活动照片展示</a></li>
				<li><a href="index.php?c=index&m=contact">合作相关信息/注册为协会成员</a></li>
			</ul>
			<!-- script-for-menu -->
				<script>
					 $( "span.menu" ).click(function() {
					$( "ul.nav1" ).slideToggle( 300, function() {
					// Animation complete.
						});
						});
				</script>
			<!-- /script-for-menu -->
		</div>
	</div>
	<!-- //banner -->
	<!-- gallery -->
	<div class="gallery-top">
		<!-- container -->
		<div class="container">
			<div class="gallery-info">
				<h3>PhOtO</h3>
			</div>
			<div class="gallery-grids-top">
				<div class="gallery-grids">
					<div class="col-md-3 gallery-grid">
						<p><font size="4" color="#32CD32"><b><center><?php echo $photo['0']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['0']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image"
						src="images/<?php echo $photo['0']['1']; ?>" alt=""/></a>
					</div>
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['1']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['1']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['1']['1']; ?>" alt=""/></a>
					</div>
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['2']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['2']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['2']['1']; ?>" alt=""/></a>
					</div>
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['3']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['3']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['3']['1']; ?>" alt=""/></a>
					</div>
					<div class="clearfix"> </div>
				</div>
				<div class="gallery-grids gallery-grids-middle">
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['4']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['4']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['4']['1']; ?>" alt=""/></a>
					</div>
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['5']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['5']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['5']['1']; ?>" alt=""/></a>
					</div>
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['6']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['6']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['6']['1']; ?>" alt=""/></a>
					</div>
					<div class="col-md-3 gallery-grid">
						<p><center><?php echo $photo['7']['0']; ?></center></p>
						<a class="example-image-link" href="images/<?php echo $photo['7']['1']; ?>" data-lightbox="example-set" data-title=""><img class="example-image" src="images/<?php echo $photo['7']['1']; ?>" alt=""/></a>
					</div>
					<div class="clearfix"> </div>
				</div>
					
					<div class="clearfix"> </div>
				</div>
				<script src="js/lightbox-plus-jquery.min.js"></script>
			</div>
		</div>
		<!-- //container -->
	</div>
	<!-- //gallery -->
	<!-- footer -->
	<div class="footer">
		<div class="footer-bottom">
			<!-- container -->
			<div class="container">
				<p>Copyright &copy; 小牛肉 2016</p>
			</div>
		</div>
	</div>
	<!-- //footer -->
</body>	
</html>